<template>
  <div id="ArticleRecommend">
    <div class="title">
        每日推荐
    </div>
    <div class="articles">
      <ul>
        <li v-for="(item,index) in article" :key="index" class="article">
          {{item.title}}
        </li>
      </ul>
    </div>
  </div>
</template>

<script>
export default {
    name: "ArticleRecommend",
    data() {
      return {
        article: [
          {
            title: '第一天'
          },
          {
            title: '第二天'
          },
          {
            title: '第三天'
          }
        ]
      }
    }

}
</script>

<style scoped>
#ArticleRecommend {
    width: 100%;
    margin-left: 20px;
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    transition: all .2s ease;
}

#ArticleRecommend:hover {
  transform: translateY(-3px);
}

.title  {
  text-align: center;
}

.articles {
  margin-top: 20px;
}

.article {
  height: 30px;
  font-size: 13px;
  color: #5fb878;
  cursor: pointer;
  line-height: 30px;
}

.article:hover {
  text-decoration: underline #81F79F 1px;
}
</style>